if(typeof BASIS == "undefined"){
    var BASIS={
        DATA_STATUS:{
            ROOT:"DATA_STATUS",
            DATA_STATUS_START:"DATA_STATUS_START",
            DATA_STATUS_STOP:"DATA_STATUS_STOP"
        },
        RESOURCE_TYPE:{
            ROOT:"RESOURCE_TYPE",
            RESOURCE_TYPE_MODULE:"RESOURCE_TYPE_MODULE",
            RESOURCE_TYPE_MENU:"RESOURCE_TYPE_MENU",
            RESOURCE_TYPE_FUNCTION:"RESOURCE_TYPE_FUNCTION"
        },
        USER_TYPE:{
            ROOT:"USER_TYPE",
            USER_TYPE_SYSTEM_SUPER:"USER_TYPE_SYSTEM_SUPER",
            USER_TYPE_SYSTEM_USER:"USER_TYPE_SYSTEM_USER"
        },
        CAL_TYPE:{
            ROOT:"CAL_TYPE",
            CAL_TYPE_WORKING_DAYS:"CAL_TYPE_WORKING_DAYS",
            CAL_TYPE_HOLIDAY_SEASON:"CAL_TYPE_HOLIDAY_SEASON"
        },
        /* 车辆类型 */
        VEHICLE_TYPE : {
            ROOT:"VEHICLE_TYPE",
            COMPACT:"COMPACT",//小型车
            VEHICLE:"VEHICLE",//中型车
            FULL_SIZE:"FULL-SIZE"//大型车
        },
        /* 通行证业务类型 [主/副] */
        TRAFFIC_PERMIT_SERVICE_TYPE : {
            ROOT:"TRAFFIC_PERMIT_SERVICE_TYPE",
            MAIN:"MAIN",
            SUB:"SUB"
        },
        /* 通行证卡别[虚拟/IC] */
        TRAFFIC_PERMIT_CARD_TYPE : {
            ROOT:"TRAFFIC_PERMIT_CARD_TYPE",
            VIRTUAL:"VIRTUAL",
            ENTITY:"ENTITY"
        },
        /* 通行证状态 */
        TRAFFIC_PERMIT_STATUS : {
            ROOT:"TRAFFIC_PERMIT_STATUS",
            TRAFFIC_PERMIT_STATUS_ENABLE:"TRAFFIC_PERMIT_STATUS_ENABLE",
            TRAFFIC_PERMIT_STATUS_CANCEL:"TRAFFIC_PERMIT_STATUS_CANCEL",
            TRAFFIC_PERMIT_STATUS_LOST:"TRAFFIC_PERMIT_STATUS_LOST",
            TRAFFIC_PERMIT_STATUS_STOP:"TRAFFIC_PERMIT_STATUS_STOP"
        },
        CHARGE_MONTH_PAY:{
            ROOT:"CHARGE_MONTH_PAY",
            MONTH:"MONTH",
            YEAR:"YEAR"
        },
        PASS_SIGN_FLAG:{
            ROOT:"PASS_SIGN_FLAG",
            STOP:"STOP",
            PASS:"PASS"
        },
        /* 优惠 类型 */
        PREFERENTIAL_TYPE : {
            ROOT : "PREFERENTIAL_TYPE",
            CASH_TICKET : "CASH_TICKET",
            DISCOUNT : "DISCOUNT",
            REDUCTION : "REDUCTION"
        },
        /* 优惠对象 */
        PREFERENTIAL_OBJECT : {
            ROOT : "PREFERENTIAL_OBJECT",
            TEMP : "TEMP",
            PERIOD : "PERIOD",
            STORAGE : "STORAGE"
        },
        /* 优惠[券] 类型 */
        PREFERENTIAL_TICKET_TYPE : {
            ROOT : "PREPERENTIAL_TICKET_TYPE",
            QR_CODE : "QR_CODE",
            PREFERENTIAL_CODE : "PREFERENTIAL_CODE",
            OTHER : "OTHER"
        },
        /* 优惠券使用状态 */
        PREFERENTIAL_TICKET_SITUATION : {
            ROOT : "PREFERENTIAL_TICKET_SITUATION",
            NOT_USED : "NOT_USED",
            ALREADY_USE : "ALREADY_USE",
            INVALID : "INVALID"
        },VOICE_GENDER:{
            ROOT:"VOICE_GENDER",
            MALE:"MALE",
            FEMALE:"FEMALE"
        },
        CHANNEL_TYPE:{
            ROOT:"CHANNEL_TYPE",
            CHANNEL_TYPE_I:"CHANNEL_TYPE_I",
            CHANNEL_TYPE_E:"CHANNEL_TYPE_E"
        },
        TRAFFIC_PATTERNS:{
            ROOT:"TRAFFIC_PATTERNS",
            TRAFFIC_PATTERNS_IC:"TRAFFIC_PATTERNS_IC",
            TRAFFIC_PATTERNS_LICENCE_PLATE:"TRAFFIC_PATTERNS_LICENCE_PLATE",
            TRAFFIC_PATTERNS_IC_VEH:"TRAFFIC_PATTERNS_IC_VEH"
        },
        CAR_TYPE:{
            ROOT:"CAR_TYPE",
            CAR_TYPE_TEMP:"CAR_TYPE_TEMP",
            CAR_TYPE_MONTH:"CAR_TYPE_MONTH",
            CAR_TYPE_ORDERED:"CAR_TYPE_ORDERED",
            CAR_TYPE_BUYOUT:"CAR_TYPE_BUYOUT"
        },
        /* 收费方式 */
        CHARGE_METHOD : {
            ROOT : "CHARGE_METHOD",
            CASH : "CASH",
            WECHART_PAY : "WECHART_PAY",
            ALI_PAY : "ALI_PAY"
        },
        /* 支付类型 */
        PAY_TYPE : {
            ROOT : "PAY_TYPE",
            PRE_CHARGE : "PRE_CHARGE",
            TIMEOUT_CHARGE : "TIMEOUT_CHARGE",
            GOOUT_CHARGE : "GOOUT_CHARGE",
            MONTH_CHARGE : "MONTH_CHARGE",
            SAVE_CHARGE : "SAVE_CHARGE"
        },
        /*支付平台*/
        PAY_PLATFORM:{
            ROOT:"PAY_PLATFORM",
            PAY_PLATFORM_WECHAT:"	PAY_PLATFORM_WECHAT",
            PAY_PLATFORM_PACKING:"PAY_PLATFORM_PACKING",
            PAY_PLATFORM_HANDHELD:"PAY_PLATFORM_HANDHELD"
        },
        CHARGE_TIME_TYPE:{
            ROOT:"CHARGE_TIME_TYPE",
            DAY:"DAY",
            TIME:"TIME"
        },
        CHARGE_NIGHT_PAY_METHOD:{
            ROOT:"CHARGE_NIGHT_PAY_METHOD",
            ONCE:"ONCE",
            TIME_SLOT:"TIME_SLOT"
        },
        /* 通行证类型分类 */
        TRAFFIC_TYPE_CLASS: {
            ROOT : "TRAFFIC_TYPE_CLASS",
            TEMP_CLASS : "TEMP_CLASS",
            MONTH_CLASS : "MONTH_CLASS",
            STORAGE_CLASS : "STORAGE_CLASS"
        },
        /* 通行实体 */
        TRAFFIC_ENTITY: {
            ROOT : "TRAFFIC_ENTITY",
            /* 虚拟通行凭证 */ VIRTUAL_CARD : "VIRTUAL_CARD",
            /* 实体通行凭证 */ PHYSICAL_CARD : "PHYSICAL_CARD"
        },
        /* 授权类型 */
        AUTHOR_TYPE: {
            ROOT : "AUTHOR_TYPE",
            DEBAR : "DEBAR",
            RELEASE : "RELEASE"
        },
        /* 超时计费 */
        TIMEOUT_BILING: {
            ROOT : "TIMEOUT_BILING",
            FREE : "FREE",
            CHARGE : "CHARGE"
        },
        /* 身份识别实体类型 */
        IDENTITY_ENTITY_TYPE: {
            ROOT : 'IDENTITY_ENTITY_TYPE',
            IC : 'IC'
        },
        /* 商户类型  酒店 展厅 医院 景区 学校 */
        MERCHANT_TYPE : {
            ROOT : 'MERCHANT_TYPE',
            TYPE_HOTEL : 'TYPE_HOTEL',
            EXHIBITION_HALL : 'EXHIBITION_HALL',
            TYPE_HOSPITAL : 'TYPE_HOSPITAL',
            SCENIC_AREA : 'SCENIC_AREA',
            TYPE_SCHOOL : 'TYPE_SCHOOL'
        },
        /* 商户性质 民营企业 事业单位 政府机构 */
        MERCHANT_NATURE : {
            ROOT : 'MERCHANT_NATURE',
            PRIVATE_ENTERPRISE : 'PRIVATE_ENTERPRISE',
            INSTITUTIONS : 'INSTITUTIONS',
            GOVERNMENT_AGENCIES : 'GOVERNMENT_AGENCIES'
        },
        /* 合作状态 正在合作 暂停 */
        COOP_STATUS : {
            ROOT : 'COOP_STATUS',
            COOP_ING : 'COOP_ING',
            COOP_PAUSE : 'COOP_PAUSE'
        },
        /*道闸类型*/
        GATE_TYPE:{
            ROOT:"GATE_TYPE",
            A:'GATE_TYPE_A',
            B:'GATE_TYPE_B'
        },
        /*计费分割方式*/
        CUMULATIVE_WAY:{
            ROOT:"CUMULATIVE_WAY",
            CUMULATIVE_WAY_A:"CUMULATIVE_WAY_A",
            CUMULATIVE_WAY_B:"CUMULATIVE_WAY_B"
        },
        /*计费累计方式*/
        CUMULATIVE_TYPE:{
        	 ROOT:"CUMULATIVE_TYPE",
        	 CUMULATIVE_TYPE_A:"CUMULATIVE_TYPE_A",
        	 CUMULATIVE_TYPE_B:"CUMULATIVE_TYPE_B"
        },
        /*设备类型类别(大类型)*/
        DEVICE_CATEGORIES:{
            ROOT:"DEVICE_CATEGORIES",
            DEVICE_CATEGORIES_0:"DEVICE_CATEGORIES_0",
            DEVICE_CATEGORIES_1:"DEVICE_CATEGORIES_1",
            DEVICE_CATEGORIES_2:"DEVICE_CATEGORIES_2",
            DEVICE_CATEGORIES_3:"DEVICE_CATEGORIES_3",
            DEVICE_CATEGORIES_99:"DEVICE_CATEGORIES_99"
        },
        /*显示屏显示颜色*/
        DISPLAY_COLOR:{
            ROOT:"DISPLAY_COLOR"
        },
        /*显示屏显示方式*/
        DISPLAY_MODE:{
            ROOT:"DISPLAY_MODE"
        },
        /*显示屏显示内容*/
        DISPLAY_CONTENT:{
            ROOT:"DISPLAY_CONTENT"
        },
        /*显示屏类型*/
        SCREEN_TYPE:{
            ROOT:"SCREEN_TYPE",
            SCREEN_TYPE_1:"SCREEN_TYPE_1",
            SCREEN_TYPE_2:"SCREEN_TYPE_2",
            SCREEN_TYPE_3:"SCREEN_TYPE_3"
        },
        /*通讯方式*/
        COMM_METHODS:{
            ROOT:"COMM_METHODS",
            COMM_METHODS_1:"COMM_METHODS_1",
            COMM_METHODS_2:"COMM_METHODS_2"
        },
        /*特殊名单类型*/
        SPECIAL_TYPE:{
            ROOT:"SPECIAL_TYPE",
            SPECIAL_TYPE_WHITE:"SPECIAL_TYPE_WHITE",  //白名单
            SPECIAL_TYPE_BLACK:"SPECIAL_TYPE_BLACK",  //黑名单
            SPECIAL_TYPE_VIP:"SPECIAL_TYPE_VIP"       //贵宾车
        },
        /*区域广告内容显示*/
        ADVERTISING_CONTENT:{
            ROOT:"ADVERTISING_CONTENT",
            ADVERTISING_CONTENT_1:"ADVERTISING_CONTENT_1",
            ADVERTISING_CONTENT_2:"ADVERTISING_CONTENT_2",
            ADVERTISING_CONTENT_3:"ADVERTISING_CONTENT_3",
            ADVERTISING_CONTENT_4:"ADVERTISING_CONTENT_4",
            ADVERTISING_CONTENT_5:"ADVERTISING_CONTENT_5",
            ADVERTISING_CONTENT_6:"ADVERTISING_CONTENT_6",
            ADVERTISING_CONTENT_7:"ADVERTISING_CONTENT_7"
        },
        /*语音内容显示*/
        SPEECH_TYPE:{
            ROOT:"SPEECH_TYPE",
            SPEECH_TYPE_0:"SPEECH_TYPE_0",
            SPEECH_TYPE_1:"SPEECH_TYPE_1",
            SPEECH_TYPE_2:"SPEECH_TYPE_2",
            SPEECH_TYPE_3:"SPEECH_TYPE_3",
            SPEECH_TYPE_4:"SPEECH_TYPE_4",
            SPEECH_TYPE_5:"SPEECH_TYPE_5",
            SPEECH_TYPE_6:"SPEECH_TYPE_6",
            SPEECH_TYPE_7:"SPEECH_TYPE_7",
            SPEECH_TYPE_8:"SPEECH_TYPE_8",
            SPEECH_TYPE_9:"SPEECH_TYPE_9"
        },
        /*语音内容显示*/
        DISPLAY_CONTENT:{
            ROOT:"DISPLAY_CONTENT",
            DISPLAY_CONTENT_0:"DISPLAY_CONTENT_0",
            DISPLAY_CONTENT_1:"DISPLAY_CONTENT_1",
            DISPLAY_CONTENT_2:"DISPLAY_CONTENT_2",
            DISPLAY_CONTENT_3:"DISPLAY_CONTENT_3",
            DISPLAY_CONTENT_4:"DISPLAY_CONTENT_4",
            DISPLAY_CONTENT_5:"DISPLAY_CONTENT_5",
            DISPLAY_CONTENT_6:"DISPLAY_CONTENT_6",
            DISPLAY_CONTENT_7:"DISPLAY_CONTENT_7",
            DISPLAY_CONTENT_8:"DISPLAY_CONTENT_8",
            DISPLAY_CONTENT_9:"DISPLAY_CONTENT_9",
            DISPLAY_CONTENT_10:"DISPLAY_CONTENT_10"
        },
        /*模板类型*/
        MODEL_TYPE:{
            ROOT:"MODEL_TYPE",
            MODEL_TYPE_AD:"MODEL_TYPE_AD",
            MODEL_TYPE_VOICE:"MODEL_TYPE_VOICE",
            MODEL_TYPE_DISPLAY:"MODEL_TYPE_DISPLAY"
        },
        /*语音模板类型*/
        MODEL_DATA_TYPE:{
            ROOT:"MODEL_DATA_TYPE",
            MODEL_DATA_TYPE_0:"MODEL_DATA_TYPE_0",
            MODEL_DATA_TYPE_1:"MODEL_DATA_TYPE_1",
            MODEL_DATA_TYPE_2:"MODEL_DATA_TYPE_2",
            MODEL_DATA_TYPE_3:"MODEL_DATA_TYPE_3",
            MODEL_DATA_TYPE_4:"MODEL_DATA_TYPE_4",
            MODEL_DATA_TYPE_5:"MODEL_DATA_TYPE_5",
            MODEL_DATA_TYPE_6:"MODEL_DATA_TYPE_6",
            MODEL_DATA_TYPE_7:"MODEL_DATA_TYPE_7",
            MODEL_DATA_TYPE_8:"MODEL_DATA_TYPE_8"
        },
        /*语音模板类型*/
        IN_OUT_STATUS:{
            ROOT:"IN_OUT_STATUS",
            IN_OUT_STATUS_0:"IN_OUT_STATUS_0",
            IN_OUT_STATUS_1:"IN_OUT_STATUS_1",
            IN_OUT_STATUS_2:"IN_OUT_STATUS_2"
        },
        /**
         * 是否开关
         */
        BOTT_LEVEL_ROOT:{
            ROOT:"BOTT_LEVEL_ROOT",
            BOTT_LEVEL_Y:"BOTT_LEVEL_Y",
            BOTT_LEVEL_N:"BOTT_LEVEL_N"
        },
        /**
         * 模块编码
         */
        MODULE_CODE:{
            ROOT:"MODULE_CODE",
            MODULE_CODE_INOUT:"MODULE_CODE_INOUT",
            MODULE_CODE_SPACE:"MODULE_CODE_SPACE",
            MODULE_CODE_OWNER:"MODULE_CODE_OWNER",//车主信息
            MODULE_CODE_TEMPLATE : "MODULE_CODE_TEMPLATE",		  //车场模版
            MODULE_CODE_ORGANIZATION_INFO : "MODULE_CODE_ORGANIZATION_INFO",		  //车场组织
            MODULE_CODE_CHARGE_INFO : "MODULE_CODE_CHARGE_INFO",		  //计费规则
            MODULE_CODE_VEHICLE : "MODULE_CODE_VEHICLE"		  //车辆模块
        },
        /**
         * 操作行为
         * 0.新增 1.修改 2.删除 3.状态变更 4.导入导出
         */
        OPERATION_BEHAVIOR:{
            ROOT:"OPERATION_BEHAVIOR",
            OPERATION_BEHAVIOR_NEW:"OPERATION_BEHAVIOR_NEW",
            OPERATION_BEHAVIOR_UPDATE:"OPERATION_BEHAVIOR_UPDATE",
            OPERATION_BEHAVIOR_DELETE:"OPERATION_BEHAVIOR_DELETE",
            OPERATION_BEHAVIOR_CHANGE_STATUS:"OPERATION_BEHAVIOR_CHANGE_STATUS",
            OPERATION_BEHAVIOR_INOUT:"OPERATION_BEHAVIOR_INOUT"
        },
        /**
         * 车牌矫正
         * 0.初始 1.矫正
         */
        CORRECTIVE_PLATE:{
            ROOT:"CORRECTIVE_PLATE",
            CORRECTIVE_PLATE_0:"CORRECTIVE_PLATE_0",
            CORRECTIVE_PLATE_1:"CORRECTIVE_PLATE_1"
        },
        /**
         * 优免策略
         * 0.次 1.天
         */
        FREE_PREFERENTIAL_WAY:{
            ROOT:"FREE_PREFERENTIAL_WAY",
            FREE_PREFERENTIAL_WAY_T:"FREE_PREFERENTIAL_WAY_T",
            FREE_PREFERENTIAL_WAY_D:"FREE_PREFERENTIAL_WAY_D"
        },
        /**
         * 下发消息状态
         */
        ASSIGNMENT_STATUS : {
            ROOT : 'ASSIGNMENT_STATUS',
            /* 等待发送 */ WAIT_FOR_SEND : "WAIT_FOR_SEND",
            /* 发送完成 */ SEND_COMPLETED : "SEND_COMPLETED",
            /* 等待重发 / (部分未完成) */ WAIT_FOR_RESEND : "WAIT_FOR_RESEND",
            /* 取消发送 */ CANCEL_SEND : "CANCEL_SEND"
        },
        /**
         *  升级方式
         */
        UPGRADE_METHODS:{
        	ROOT:"UPGRADE_METHODS",
        	UPGRADE_METHODS_MAND:"UPGRADE_METHODS_MAND",		//强制更新
        	UPGRADE_METHODS_SEC:"UPGRADE_METHODS_SEC",			//安全更新
        	UPGRADE_METHODS_TIM:"UPGRADE_METHODS_TIM"			//定时更新
        },
        /**
         * 升级状态
         */
        UPGRADE_STATUS:{
        	ROOT:"UPGRADE_STATUS",
        	UPGRADE_STATUS_WAIT:"UPGRADE_STATUS_WAIT",		//等待更新
        	UPGRADE_STATUS_SUC:"UPGRADE_STATUS_SUC",		//升级成功
        	UPGRADE_STATUS_ERR:"UPGRADE_STATUS_ERR"			//升级失败
        }
    }
}